ARCH!=		uname -m

NETBSDSRCDIR?=	${.CURDIR}
BUILDDIR?=	distrib/utils/sysinst/arch/${ARCH}

.PHONY: all
all:
	env NETBSDSRCDIR=${NETBSDSRCDIR} sh -c "cd ${BUILDDIR} && $(MAKE)"

.PHONY: clean
clean:
	env NETBSDSRCDIR=${NETBSDSRCDIR} sh -c "cd ${BUILDDIR} && $(MAKE) clean"
